public class AccountTask{
    public static void updateEmp(Account[] account){
        
        Employee__c[] emp = [ select EValue__c from Employee__c where Account__c =: account[0].Id];
        emp[0].EValue__c =  emp[0].EValue__c+1; 
        update(emp[0]);
        
    }
}